package com.vhall.component.entity.inav.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 * @author lsl
 * @since 2021/6/4
 */
@Data
public class SetBannedReqVO implements Serializable {

    @Pattern(regexp = "[0-9a-zA-Z_]{1,32}", message = "参数异常")
    @NotBlank(message = "参数异常")
    @ParamName("room_id")
    private String roomId;

    @NotNull(message = "参数错误")
    @Range(max = 1, min = 0, message = "参数错误")
    private Integer status;

    @ParamName("vss_token")
    private String vssToken;

    @NotBlank(message = "参数错误")
    @ParamName("receive_account_id")
    private String receiveAccountId;
}
